using System; 
using System.Collections.Generic; 
using System.Text; 
using FluentNHibernate.Mapping;

namespace Sample.CustomerService.Domain {
    
    
    public class CDMap : ClassMap<CD> {
        
        public CDMap() {
			Table("CD");
			LazyLoad();
			Id(x => x.ID_DATA).GeneratedBy.Assigned().Column("ID_DATA");
			Map(x => x.UKURAN_DATA).Column("UKURAN_DATA");
			Map(x => x.TAHUN_DATA).Column("TAHUN_DATA");
			Map(x => x.JUDUL_DATA).Column("JUDUL_DATA").Length(30);
			Map(x => x.GAMBAR_DATA).Column("GAMBAR_DATA");
        }
    }
}
